package com.hqyj.module.login.pojo;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@EqualsAndHashCode(callSuper = false)
public class UserInfo  implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "user_id",type = IdType.AUTO)
    private Integer userId;


    private String userName;

    private String userPwd;

    private String newPwd;

    @TableField(exist = false)
    private String startTime;

    public UserInfo(String userName, String userPwd, String startTime) {
        this.userName = userName;
        this.userPwd = userPwd;
        this.startTime = startTime;
    }
}

